package com.webside.points.model;

import java.util.Date;
import java.util.List;

import com.webside.points.wechat.DateUtil;

public class AnswerEntity {

	/*
	 * 回答ID
	 */
	private int id;
	/*
	 * 问题ID
	 */
	private int issueId;
	/*
	 * 回答内容
	 */
	private String answerContent;
	/*
	 * 追加回答内容
	 */
	private String addAnswerContent;
	/*
	 * 专家ID
	 */
	private int expertId;
	/*
	 * 创建时间
	 */
	private Date createTime;
	/*
	 * 追加创建时间
	 */
	private Date addCreateTime;
	/*
	 * 点赞标志
	 */
	private int likeMark;
	/*
	 * 倒赞标志
	 */
	private int dislikeMark;
	/*
	 * 图片
	 */
	private String image;
	
	private String isLike;

	private String isDisLike;
	
	/*
	 * 状态
	 */
	private String status;
	
	
	

	public String getStatus() {
		return status;
	}




	public void setStatus(String status) {
		this.status = status;
	}




	public String getIsDisLike() {
		return isDisLike;
	}




	public void setIsDisLike(String isDisLike) {
		this.isDisLike = isDisLike;
	}




	public String getIsLike() {
		return isLike;
	}




	public void setIsLike(String isLike) {
		this.isLike = isLike;
	}




	/*
	 * 格式化创建时间
	 */
	private String createDateFormat;
	
	private ExpertEntity expertEntity;
	
	private List<LikeEntity> likeEntityList;
	

	public AnswerEntity() {
		super();
	}
	
	
	
	
	public String getImage() {
		return image;
	}




	public void setImage(String image) {
		this.image = image;
	}




	public List<LikeEntity> getLikeEntityList() {
		return likeEntityList;
	}




	public void setLikeEntityList(List<LikeEntity> likeEntityList) {
		this.likeEntityList = likeEntityList;
	}




	public String getCreateDateFormat() {
		return createDateFormat;
	}




	public void setCreateDateFormat(String createDateFormat) {
		this.createDateFormat = createDateFormat;
	}




	public int getDislikeMark() {
		return dislikeMark;
	}



	public void setDislikeMark(int dislikeMark) {
		this.dislikeMark = dislikeMark;
	}



	public int getLikeMark() {
		return likeMark;
	}



	public void setLikeMark(int likeMark) {
		this.likeMark = likeMark;
	}



	public ExpertEntity getExpertEntity() {
		return expertEntity;
	}



	public void setExpertEntity(ExpertEntity expertEntity) {
		this.expertEntity = expertEntity;
	}



	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIssueId() {
		return issueId;
	}

	public void setIssueId(int issueId) {
		this.issueId = issueId;
	}

	public String getAnswerContent() {
		return answerContent;
	}

	public void setAnswerContent(String answerContent) {
		this.answerContent = answerContent;
	}

	public String getAddAnswerContent() {
		return addAnswerContent;
	}

	public void setAddAnswerContent(String addAnswerContent) {
		this.addAnswerContent = addAnswerContent;
	}

	public int getExpertId() {
		return expertId;
	}

	public void setExpertId(int expertId) {
		this.expertId = expertId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
		this.createDateFormat = DateUtil.dateFormat(createTime);
	}

	public Date getAddCreateTime() {
		return addCreateTime;
	}

	public void setAddCreateTime(Date addCreateTime) {
		this.addCreateTime = addCreateTime;
	}




	@Override
	public String toString() {
		return "AnswerEntity [id=" + id + ", issueId=" + issueId + ", answerContent=" + answerContent
				+ ", addAnswerContent=" + addAnswerContent + ", expertId=" + expertId + ", createTime=" + createTime
				+ ", addCreateTime=" + addCreateTime + ", likeMark=" + likeMark + ", dislikeMark=" + dislikeMark
				+ ", image=" + image + ", isLike=" + isLike + ", isDisLike=" + isDisLike + ", status=" + status
				+ ", createDateFormat=" + createDateFormat + ", expertEntity=" + expertEntity + ", likeEntityList="
				+ likeEntityList + "]";
	}




	


	

	
	
}
